#!/usr/bin/python
# -*- coding: UTF-8 -*-
import time

from dateutil import parser

# pip install python-dateutil
# 字符串日期转换为易读的日期格式
dt = parser.parse("Aug 28 2024 12:00AM")
print(dt)
dt2 = parser.parse(time.ctime())
print(time.ctime())
print(dt2)
